//
//  Interface.h
//  GoldPig
//
//  Created by 虎爷 on 2019/10/19.
//  Copyright © 2019 虎爷. All rights reserved.
//

#ifndef Interface_h
#define Interface_h
//192.168.0.115
//https://cqg.szlzyd.com

#define Login_IP(a) [NSString stringWithFormat:@"https://cqg.szlzyd.com/app/%@",a]    //登录地址
#define Tree_IP(a) [NSString stringWithFormat:@"https://cqg.szlzyd.com/app/%@/wxd76c40f97682fbf7/v=1.0.3_ofQJ85f7Xro6fyp6eGVh-fBPb7w4",a]

//登录
#define noAuth @"token/noAuth" //游客登录
#define switchConfig @"switch/config"      //配置
#define getInfo @"api/user/getInfo"     //用户信息
#define servicesOnline @"api/services/online"

//通用
#define serialSign @"api/io62/serialSign"  //七天签到
#define serialSignQuery @"api/sign/serialSignQuery"    //连续签到查询
#define taskMinute @"api/io62/minute"     //分钟任务(一小时红包、3分钟水滴)
#define queryOfApp @"api/config/queryOfApp"    //查询特殊配置（水滴和红包剩余时间）
#define userAccount @"api/user/account"     //查询金币数量

//首页
#define getPigGold @"api/io62/getPigGold"       //收取金猪金币
#define getPigInfo @"api/io62/getPigInfo"       //获取金猪信息
#define taskConsume @"api/task/consume"         //金猪升级红包
#define buyLevel @"api/io62/buyLevel"           //购买等级，出参与收取金币一致，一定会返回升级红包，无入参
#define redEnvelopedRainSearch @"api/io62/redEnvelopedRainSearch"       //钻石雨查询
#define redEnvelopedRainSettle @"api/io62/redEnvelopedRainSettle"       //钻石雨收集结算

//图鉴
#define getPigInfoList @"api/io62/getPigInfoList"

//打工
#define workSearch @"api/io62/workSearch"       //打工查询 按数组顺序，分别是 洗盘子 -  打扫家 - 去搬砖 -开专车 - 写代码
#define doWork @"api/io62/doWork"               //工作
#define bonusesGet @"api/io62/bonusesGet"       //领取奖励

//任务
#define taskBonusesSearch @"api/io62/taskBonusesSearch"         //金币奖励任务查询
#define taskBonusesGet @"api/io62/taskBonusesGet"           //金币任务领取
#endif /* Interface_h */
